<?php defined('SYSPATH') or die('No direct script access.');
 
class Menu_Model extends ORM {
 	//relacionamentos
	//um para varios->tabelas no plural
	protected $has_many = array('submenus');
 	
 
	/**
	 * An array of sorting parameters that should be applied to queries. 
	 * By default, results are sorted by id ASC. You can add multiple 
	 * columns and directions to this property.
	 */
	protected $sorting = array('ordem' => 'desc');
	
}